﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Talk.Net
{
	class ServerManager
	{
		private static List<Server> serverList;

		public static List<Server> GetServers()
		{
			Initialize();

			return serverList;
		}

		private static void Initialize()
		{
			if (serverList == null)
			{
				serverList = new List<Server>();

				Server s1 = new Server();
				s1.address = "127.0.0.1";
				s1.port = 7000;
				s1.caption = "Alpha Server";

				Server s2 = new Server();
				s2.address = "68.193.75.32";
				s2.port = 7000;
				s2.caption = "Alpha Server (Remote)";

				serverList.Add(s1);
				serverList.Add(s2);
			}
		}
	}
}
